//
//  CategoryButtonView.h
//  jang
//
//  Created by lee han on 04/04/2017.
//  Copyright © 2017 lee han. All rights reserved.
//

#import <UIKit/UIKit.h>


@protocol CategoryButtonDelegate <NSObject>
- (void)onClickCategoryButton:(NSInteger)index;
@end

@interface CategoryButtonView : UIView

@property NSInteger mIndex;
@property id<CategoryButtonDelegate> mDelegate;

@property (weak, nonatomic) IBOutlet UIImageView *mImage;
@property (weak, nonatomic) IBOutlet UILabel *mText;

-(void)setHighLight:(BOOL)ishighlight;

@end


#define CategoryButtonHeight 33
